package ModelLayer;

public class Invoice {
	
	private int invoiceNo;
	private String paymentDate;
	private double amount;
	private int discount;
	private double delivery;
	
	public Invoice() { }
	
	public Invoice(int invoiceNo) {
		this.invoiceNo = invoiceNo;
	}
	
	public Invoice(int invoiceNo, String paymentDate, double amount, int discount, double delivery) {
		this.invoiceNo = invoiceNo;
		this.paymentDate = paymentDate;
		this.amount = amount;
		this.discount = discount;
		this.delivery = delivery;
	}
	
	//set methods
	
	public void setinvoiceNo(int invoiceNo) {
		this.invoiceNo = invoiceNo;
	}
	public void setpaymentDate(String paymentDate) {
		this.paymentDate = paymentDate;
	}
	public void setamount(double amount) {
		this.amount = amount;
	}
	public void setdiscount(int discount) {
		this.discount = discount;
	}
	public void setdelivery(double delivery) {
		this.delivery = delivery;
	}
	
	//get methods
	
	public int getinvoiceNo() {
		return invoiceNo;
	}
	public String getpaymentDate() {
		return paymentDate;
	}
	public double getamount() {
		return amount;		
	}
	public int getdiscount() {
		return discount;
	}
	public double getdelivery() {
		return delivery;
	}

}
